System Commands

In addition to those commands listed in the Generic ABI and the Processor Specific ABI, the following commands are available to application programs running on ABI-conforming systems: With the exception of mt, mount and umount, these commands are as described in the System V Interface Definition (SVID), Third Edition.

The mt Command

The mt command is a magnetic tape manipulation program, with the following syntax:
	mt -f tapename  command  [ count ]
mt is used to give commands to a magnetic tape drive. Note that tapename must reference a raw (not block) tape device. By default, mt performs the requested operation once. Operations may be performed multiple times by specifying count.

Valid choices for command are as follows:

mt returns a 0 exit status upon successful completion, 1 if the command was unrecognized, and 2 if an operation failed.

Differences are known to exist among various vendor platforms as to exactly where a tape is positioned after reading a file on a multi-file tape. These are difficult to reconcile due to compatibility requirements with prior OS releases by each vendor. Applications that use multi-file tapes, especially using them for installation should consider using dd to actually extract the information, and the undocumented -D option for cpio which inhibits read ahead. This is the mechanism used by the SVR4 packaging tools. Vendors have generally made dd properly position the tape in a consistant way.



The mount and umount Commands

The mount and unmount commands specify how to mount and unmount file systems. The specification below extends the definition in the System V Interface Definition (SVID), Third Edition, to support the mounting and unmounting of CD-ROM based file systems. This definition is derived from the OCMP specification.

NAME

SYNOPSIS

OPTIONS

Back to the Table of Contents
Back to the MIPS ABI Home Page


Maintained by webmaster@mipsabi.org
last modified on August 17, 1995

Copyright © 1995, MIPS ABI Group, Incorporated.